﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace robotGUI
{
    public partial class RcDisplay : UserControl
    {
        public int Value1 { get { return valueBar1.Value; } set { valueBar1.Value = value; label1.Text = value.ToString(); } }
        public int Value2 { get { return valueBar2.Value; } set { valueBar2.Value = value; label2.Text = value.ToString(); } }
        public int Value3 { get { return valueBar3.Value; } set { valueBar3.Value = value; label3.Text = value.ToString(); } }
        public int Value4 { get { return valueBar4.Value; } set { valueBar4.Value = value; label4.Text = value.ToString(); } }
        public string Heading1 { get { return label5.Text; } set { label5.Text = value; } }
        public string Heading2 { get { return label6.Text; } set { label6.Text = value; } }
        public string Heading3 { get { return label7.Text; } set { label7.Text = value; } }
        public string Heading4 { get { return label8.Text; } set { label8.Text = value; } }
        public Color LeftColor { get { return valueBar1.LeftColor; } set { valueBar1.LeftColor = value; valueBar2.LeftColor = value; valueBar3.LeftColor = value; valueBar4.LeftColor = value; Refresh(); } }
        public Color RightColor { get { return valueBar1.RightColor; } set { valueBar1.RightColor = value; valueBar2.RightColor = value; valueBar3.RightColor = value; valueBar4.RightColor = value; Refresh(); } }

        public RcDisplay()
        {
            InitializeComponent();
        }
    }
}
